import {
  zeRequest
} from './index'


export function getSearchHot() {
  return zeRequest.get({
    url: "/search/hot",
  })
}

export function getSearchSuggest(keywords) {
  return zeRequest.get({
    url: "/search/suggest",
    data: {
      keywords,
      type: 'mobile'
    }
  })
}


export function getSearchResult(keywords) {
  return zeRequest.get({
    url: "/search",
    data: {
      keywords,
    }
  })
}